home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_222 / plplot / src / source.zoo / pllab.c < prev    next >
C/C++ Source or Header  |  1989-05-15  |  363b  |  16 lines

  1. /* Simple routine for labelling graphs */
  2.  
  3. #include "plplot.h"
  4.  
  5. void pllab(xlabel, ylabel, tlabel)
  6. char *xlabel, *ylabel, *tlabel;
  7. {
  8.       int level;
  9.       glev(&level);
  10.       if (level < 2) fatal("Please set up viewport before calling PLLAB.");
  11.  
  12.       plmtex("t",2.0,0.5,0.5,tlabel);
  13.       plmtex("b",3.2,0.5,0.5,xlabel);
  14.       plmtex("l",5.0,0.5,0.5,ylabel);
  15. }
  16.